package com.boarsoft.demo.gateway.server.service;

import com.boarsoft.demo.gateway.server.entity.PocAccountReverseRequest;
import com.boarsoft.demo.gateway.server.entity.PocAccountTransferRequest;

/**
 * @ClassName:  accountService   
 * @Description:账户服务
 * @author: 
 * @date:   2019年2月15日 上午9:50:59   
 *     
 * @Copyright: 2019
 */

public interface PocAccountTransferService {

	/**
	 * @Title: transfer   
	 * @Description: 转账
	 * @param:  PocTransferRequest
	 * @return: boolean      
	 * @throws
	 */
	public boolean transfer(PocAccountTransferRequest transferRequest);
	
	/**
	 * @Title: reverse   
	 * @Description: 冲账
	 * @param:  PocTransferRequest
	 * @return: boolean      
	 * @throws
	 */
	public boolean reverse(PocAccountReverseRequest reverseRequest);

}
